package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallOrderGoods;
import com.ctsi.ssdc.domain.LitemallOrderGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallOrderGoodsRepository extends BaseRepository<LitemallOrderGoods, Integer, LitemallOrderGoodsExample> {
    @Override
    long countByExample(LitemallOrderGoodsExample example);

    @Override
    int deleteByExample(LitemallOrderGoodsExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallOrderGoods record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallOrderGoods record);

    @Override
    List<LitemallOrderGoods> selectByExample(LitemallOrderGoodsExample example);

    @Override
    LitemallOrderGoods selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallOrderGoods record, @Param("example") LitemallOrderGoodsExample example);

    @Override
    int updateByExample(@Param("record") LitemallOrderGoods record, @Param("example") LitemallOrderGoodsExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallOrderGoods record);

    @Override
    int updateByPrimaryKey(LitemallOrderGoods record);
}